{messages}
<table style="width:100%;" class="forumline" cellspacing="0" cellpadding="0">
<tr>
    <td class="row-header" colspan="5">
    <span>
    {if $sType == 'signup'}
    {language text="menu.deny.username"}
    {elseif $sType == 'email'}
    {language text="menu.deny.email"}
    {elseif $sType == 'word'}
    {language text='menu.deny.word'}
    {/if}
    </span>
    </td>
</tr>
<tr>
	<td class="catBottom" colspan="5">
		{if $sType == 'signup'}
		{language text='Mod_Site.add_new_user'}:
		{elseif $sType == 'email'}
		{language text='Mod_Site.add_new_email'}:
		{elseif $sType == 'word'}
		{language text='Mod_Site.word_replace'}
		{/if}
		<div style="padding:6px;">
		<form method="post" action="{url link='current'}">
		{if $sType == 'word'}
		{language text='Mod_Site.word'}:
		{/if}
		<input type="text" name="add" value="" size="30" />
		{if $sType == 'word'}
		{language text='Mod_Site.replace_with'}: <input type="text" name="replace" value="" size="30" />
		{/if}
		<input type="submit" value="{language text="submit"}" />
		<div style="padding:4px;">
		{if $sType == 'signup'}
			{language text='Mod_Site.user_ban_notice'}
		{elseif $sType == 'email'}
			{language text='Mod_Site.email_notice'} <br />
			{language text='Mod_Site.hotmail_example'}
		{elseif $sType == 'word'}
		<br />
		{language text='Mod_Site.global_warning'} <br />
		{language text='Mod_Site.example_word' replace1='#'}
		{/if}
		</div>
		</form>
		</div>
	</td>
</tr>
{if count($aItems) > 0}
<tr>
	<td class="row1" colspan="5" style="text-align:right;">
    {include file="$sMainTemplatePath/_blocks/pager.html"}
    </td>
</tr>
<tr>
    <th><input type="checkbox" name="delete[{$aItem.banid}]" value="" /></th>
    <th>{language text='Mod_Site.ban'}</th>
    <th>{language text='Mod_Site.replacement'}</th>
    <th>{language text='Mod_Site.added'}</th>
    <th>{language text='Mod_Site.added_by'}</th>
</tr>
<form method="post" action="{url link='current'}">
{foreach from=$aItems item=aItem}
<tr>
	<td class="row1" style="text-align:center; width:10px;">
		<input type="checkbox" name="item[]" value="{$aItem.banid}" />
	</td>
	<td class="row1">
		{$aItem.value}
	</td>
	<td class="row1">
		{$aItem.replace|default:'N/A'}
	</td>
	<td class="row1">
		{$aItem.time|date_format:$sDateFormat}
	</td>
	<td class="row1">
		{if !$aItem.user}
		{language text='Mod_Site.system_defined'}
		{else}
		{$aItem.user}
		{/if}
	</td>
</tr>
{/foreach}
<tr>
	<td class="catBottom" colspan="5" style="text-align:center;">
		<input type="submit" name="delete" value="{language text='Mod_Site.delete_bans'}" />
	</td>
</tr>
</form>
<tr>
	<td class="row1" colspan="5" style="text-align:right;">
    {include file="$sMainTemplatePath/_blocks/pager.html"}
    </td>
</tr>
{/if}
</table>